package opration;

import book.Book;
import book.BookList;
import java.util.Arrays;
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 张宇田
 * Date: 2024-10-14
 * Time: 18:52
 */
public class displayBook implements IOprable{
    @Override
    public void work(BookList bookList) {
        System.out.println("显示图书");
        BookList bk = new BookList();
        //System.out.println(Arrays.toString(bk.books));
        for(Book x:bk.books){
            System.out.println(x);
        }
    }
}
